package cn.edu.ctbu.datajpa01.repository;
import cn.edu.ctbu.datajpa01.domain.Admin;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

public interface AdminRepository extends JpaRepository<Admin,Long> {
    List<Admin> findByAuserAndApassword(String auser, String apassword);
}

